package com.msmall.community.bbs.model;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import com.msmall.base.model.BaseObject;

@Entity
@Table(name="bbs_board_keyword")
public class BoardKeyword extends BaseObject implements Serializable {

	private static final long serialVersionUID = -9122238988916595998L;

	@Id
	@Column(name="keyword_id")
	@GeneratedValue(strategy=GenerationType.IDENTITY)
	private Long keywordid;
	
	@Column(name="title")
	private String title;
	
	@Column(name="orders")
	private Integer orders;
	
	@Column(name="enabled")
	private Short enabled;
	
	@Column(name="board_id")
	private Long boardid;
	
	public Long getKeywordid() {
		return keywordid;
	}

	public void setKeywordid(Long keywordid) {
		this.keywordid = keywordid;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public Integer getOrders() {
		return orders;
	}

	public void setOrders(Integer orders) {
		this.orders = orders;
	}

	public Short getEnabled() {
		return enabled;
	}

	public void setEnabled(Short enabled) {
		this.enabled = enabled;
	}

	public Long getBoardid() {
		return boardid;
	}

	public void setBoardid(Long boardid) {
		this.boardid = boardid;
	}

	@Override
	public String toString() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public boolean equals(Object o) {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public int hashCode() {
		// TODO Auto-generated method stub
		return 0;
	}

}
